


<div id="content" class="w920">
	<div>
	<img width="920" src="/images/banner.jpg" />
	</div>
	<div class="conleft">
	<div class="pinlist">
		<div class="menu">
		
				<ul>
					<li style="background-color:#66CC00;"><img src="/images/category_zh.jpg" width="200" ></img></li>
					<?php foreach ($this->categories as $category) {?>
					<li style="font-weight:bold;color:#ccc; background-color:#FFCC66;"><a href="/artwork?catId=<?=$category['self']->id?>&currency=<?=$this->currency?>&artist=<?=$this->artist?>&keyword=<?=$this->keyword?>"><?=$category['self']->name?></a>
						<?php
							$childs = $category['childs'];
							if($childs){?>
						<ul id="subCategory<?=$category['self']->id?>" >
							<?php 
							foreach ($childs as $subCategory) {
								if ($this->currentCategory instanceof Model_ArtworkCategory && $this->currentCategory->id == $subCategory->id) {
									$style = 'font-weight:bold;color:#ccc; background-color:#FF9900';
								} else {
									$style = '';
								}
								?>
								<li><a href="/artwork?catId=<?=$this->catId?>&category=<?php echo $subCategory->id;?>&currency=<?=$this->currency?>&artist=<?=$this->artist?>&keyword=<?=$this->keyword?>" style="<?php echo $style;?>"><?=$subCategory->name?></a></li>
							<?php 
									}
									?>
									</ul>
									<?php
								}// end of foreach $childs?>
						
					</li>
					<?php } // end of foreach $this->categories?>
				</ul>
			</div>
			
			<div class="works" style="background-color:#363739; margin-left:2px;">
			<h2 style="background-color:#363739; height:25px; padding-left:30px; text-align:left;font-weight:bold;color:#FFCC66;">公司介绍</h2>
			<div style="background-color:#D4D0C8; padding:10px;">
			
			<?php echo $this->compIntro->summary;?>
			</div>
			</div>
			
			<div class="works" style="background-color:#363739; margin-left:2px;">
			<h2 style="background-color:#363739; height:25px; padding-right:20px; text-align:right;">推荐作品</h2>
			<ul  style="padding-left:5px; background-color:#fff;">
			<?php foreach ($this->artworks as $artwork) {?>
				<li onmouseover="document.getElementById('fd_<?=$artwork->id?>').style.display='block'; this.style.position='relative';"
				 onmouseout="document.getElementById('fd_<?=$artwork->id?>').style.display='none';  this.style.position='';" >
					<a class="indexthumb" href="/artwork/show?id=<?=$artwork->id?>"><img src="<?=$artwork->getPhotoWebAccessablePath('190x150')?>" alt="<?=$this->escape($artwork->name)?>" /></a>
					<span class="profudong" id="fd_<?=$artwork->id?>" style="display:none;">
							<s></s>
							<a href="/artwork/show?id=<?=$artwork->id?>"><img src="<?=$artwork->getPhotoWebAccessablePath('190x150')?>" alt="<?=$this->escape($artwork->name)?>" /></a>
							<p>
							作品: <?=$this->escape($artwork->name)?><br />
							货号: <?=$this->escape($artwork->good_num)?><br />
							规格: <?=$this->escape($artwork->size)?><br />
							分类: <?=$this->escape($this->categoryMap[$artwork->category])?><br />
							售价(美元): <?=$artwork->usd_price?>
							</p>
					</span>
				</li>
				<?php }?>
			</ul>
		</div>
		</div>
		</div>
	
	<div class="focus w920">
	<div style="background-color:#363739;width:920px; float:left;margin-bottom:4px; ">
	<div class="txt" style="margin:4px; background-color:#363739;  height:20px; text-align:right; padding-right:20px; font-weight:bold; color:white;">现货精品</div>
	<div class="txt" style="margin:1px; background-color:#fff;">

		<marquee direction=left height=200 scrollamount=10 scrolldelay=90 
      width="100%"> 
      <?php 
      	$eArtworks = $this->paomadengs;
      	foreach ($eArtworks as $eartwork){
      ?>
      <a href="/artwork/show/id/<?php echo $eartwork->id;?>"><img border=0 
      src="<?php echo $eartwork->getPhotoWebAccessablePath("200x200");?>" ></a> 
      
      <?php }?>
  </marquee>
		
	</div>
	</div>
</div>
</div>